%%% TikZ help file
%%% Macro: get the angle between two points
%
%	_______
%	Syntax:
%	\coordinate (A) at (0,0);
%	\coordinate (B) at (3,3);
%	\pgfextractangle{\angle}{A}{B}
%	______
%	Input:
%	#1 result
%	#2 Point 1
%	#3 Point 2
%	_____________
%	Dependencies:
%

% Subject: TikZ graphics
% $Author: georgnoname@gmail.com $
% $LastChangedDate: 2015-04-22 06:48:38 +0000 (Wed, 22 Apr 2015) $
% $Revision: 29 $


\newcommand{\pgfextractangle}[3]{%
	\pgfmathanglebetweenpoints
		{\pgfpointanchor{#2}{center}}
		{\pgfpointanchor{#3}{center}}
	\global\let#1\pgfmathresult  
}
